Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[humble] Expose more Writer methods in python interface (backport #1220 and #1339) #1829

Open
wants to merge 2 commits into
base: humble
Choose a base branch
from

Conversation

JannikJose
Copy link

Backport #1220 and #1339 to humble, exposing the close() and take_snapshot() Writer methods in the python interface

@JannikJose JannikJose requested a review from a team as a code owner October 11, 2024 14:22
@JannikJose JannikJose requested review from gbiggs and james-rms and removed request for a team October 11, 2024 14:22
Copy link
Contributor

@MichaelOrlov MichaelOrlov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JannikJose Thank you for the backporting PR.
Overall, it looks good. However, I found out that the Python definition for the split_bagfile API was omitted in the backporting commit. Is there a particular reason for that?

Comment on lines +104 to +106
.def("create_topic", &PyWriter::create_topic)
.def("take_snapshot", &PyWriter::take_snapshot)
;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JannikJose Out of curiosity why .def("split_bagfile", &PyWriter::split_bagfile) missed from the original PR https://github.com/ros2/rosbag2/pull/1220/files#diff-f3aa422fd35406262b9209321476913d230c5bcd81b395525719e0166395ce90R103 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants